<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
  <head>
      <title>Views Data - Bitzer</title>
      <!--<link rel="StyleSheet" href="assets/css/style.css" type="text/css" />-->

  </head>
  <body>

      <?php
            
            include("../includes/custom/bal_views.php");


            $bal = new BAL();

            $bal->params = $bal->getQueryStringValues($_SERVER['QUERY_STRING']);

            //$all_current_menu_items = $bal->getCountAtCurrentLevel();

      ?>

       <table data-bitzer-data="true"
              data-bitzer-title="BitzerMobile Views"
              data-bitzer-desc="Views demo"
              data-bitzer-component="summary"
              data-bitzer-record-count="5"
              <?php
                if(!isset ($bal->params["recordCount"]) || $bal->params["recordCount"][0] == "N")
                {
              ?>
              data-bitzer-number-of-rows="5"
              data-bitzer-start-index="0"
              <?php
                }
              ?>
              width="100%">

           <?php
                if(isset ($bal->params["recordCount"]) && $bal->params["recordCount"][0] == "Y")
                {
           ?>
                    <tr>
                        <td>Record Count</td>
                        <td>5</td>
                    </tr>

           <?php
                }
                else
                {
           ?>

                    <tr>
                        <th data-bitzer-field="id" data-bitzer-key-order="1">ID</th>
                        <th data-bitzer-field="title">Title</th>
                        <th data-bitzer-field="company">Organization</th>
                        <th data-bitzer-field="description">Snippet</th>
                        <th data-bitzer-field="url">URL</th>
                        <th data-bitzer-field="last_modified_on">Last Modified On</th>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="1">
                        <td>1</td>
                        <td>Traumatic Brain Injury</td>
                        <td>National Library of Medicine</td>
                        <td>... year, millions of people in the U.S. sustain head and brain injuries. More than half are bad ...</td>
                        <td>http://www.nlm.nih.gov/medlineplus/traumaticbraininjury.html</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="2">
                        <td>2</td>
                        <td>Concussion</td>
                        <td>National Library of Medicine</td>
                        <td>... of normal brain function in response to a head injury, but people use the term to describe any minor injury to the head or brain. Concussions are a common type of ...</td>
                        <td>http://www.nlm.nih.gov/medlineplus/concussion.html</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="3">
                        <td>3</td>
                        <td>Head and Neck Cancer</td>
                        <td>National Library of Medicine</td>
                        <td>Head and neck cancer includes cancers of the mouth, nose, sinuses, salivary glands, throat and lymph nodes ... increases your risk. In fact, 85 percent of head and neck cancers are linked to tobacco use, ...</td>
                        <td>http://www.nlm.nih.gov/medlineplus/headandneckcancer.html</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="4">
                        <td>4</td>
                        <td>Head Lice</td>
                        <td>National Library of Medicine</td>
                        <td>Head lice are parasitic wingless insects. They live on people's heads and feed on their blood. An adult is ... detect at the neckline and behind the ears. Head lice are extremely contagious. Close contact or sharing ...</td>
                        <td>http://www.nlm.nih.gov/medlineplus/headlice.html</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>

                    <tr data-bitzer-pk-name="id"
                        data-bitzer-pk-value="5">
                        <td>5</td>
                        <td>Brain Malformations</td>
                        <td>National Library of Medicine</td>
                        <td>... and incomplete division of the brain. There are head malformations that do not involve the brain. Craniofacial ... soft tissue and bones in the face and head. It's common for new babies to have slightly ...</td>
                        <td>http://www.nlm.nih.gov/medlineplus/brainmalformations.html</td>
                        <td>2011-05-10 12:55:00 PST</td>
                    </tr>
         <?php
                }
         ?>
       </table>
  </body>
</html>